package com.onion.core.entity;

import java.lang.annotation.*;

/**
 * Entity增强Annotation
 * @Author Assen
 */
@Documented
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
public @interface Enhanced {

    /**
     * Dao名字
     */
    String name() default "";

    /**
     * 表名字
     */
    String table() default "";

    /**
     * 增强类型
     */
    EnhancedType type() default EnhancedType.ENHANCED;

}